package com.hpeu_12.day1230;

public class Demo02 {
	public static void main(String[] args) {
		Demo01 demo01 = new Demo01();
		//System.out.println(demo01.age);//注意，这里报错了，原因是age的访问权限是private。在不同的类中不能直接访问
		System.out.println(demo01.name);
		System.out.println(demo01.height);
		System.out.println(demo01.gender);
	}
}
